// WITH_STDLIB
// AFTER-WARNING: Variable 'b' is never used
fun literalThen() {
    val a = 3.0
    val b: Double<caret> = if (a != 0.0) 1.0 else a
}